import Mock from 'mockjs';

let item = [{
		key: "/jl/all",
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"jiid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"jlname": "@cname",
					"sdz": "@csentence",
					"jd": "31.269689",
					"wd": "121.305338",
					"fm": "@image('200x200')",
					"sheng": "code",
					"shengmc": "黑龙江省",
					"shi": "code",
					"shimc": "哈尔滨市",
					"qu": "code",
					"qumc": "道里区",

				}]
			});
		}
	},
	{
		key: "/jl/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|10": [{
						"jlid":"@natural",
						"jlname": "@cname()",
						"birth":"@date()",
						"tel|11":/[0-9]/,
						"sdz": "@csentence",
						"cover": "https://bpic.588ku.com/back_origin_min_pic/23/04/19/b41851c53c693b31445b33bea85ce959.jpg",
					    "imgs":[
					    	"https://bpic.588ku.com/back_origin_min_pic/23/04/19/b41851c53c693b31445b33bea85ce959.jpg",
					    	"https://bpic.588ku.com//back_origin_min_pic/23/04/19/fa3a299fe14253086c63f33607c4ebbf.jpg",
							"https://bpic.588ku.com/element_origin_min_pic/25/02/19/663e1e3d8eeb59b984ad4570d84339e3.jpg",
					    	],
					}]
				}
			});
		}
	},
	{
		key: "/jl/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"jl":{
					"jlid": "@natural",
					"jlname": "@cname()",
					"birth": "@date()",
					"tel|11":/[0-9]/,
					"lx":["舞蹈","搏击","健身"],
					"cover": "https://bpic.588ku.com/back_origin_min_pic/23/04/19/b41851c53c693b31445b33bea85ce959.jpg",
					"imgs":[
						"https://bpic.588ku.com/element_origin_min_pic/25/02/19/f156a2b5c37c57851e6e9c3961b3a988.jpg",
						"https://bpic.588ku.com/element_origin_min_pic/25/02/19/663e1e3d8eeb59b984ad4570d84339e3.jpg",
						],
					"yj":200,
					"count":4.6,
					"ms":`<div>
					<p class=text-xl>一个月瘦50斤不是梦，一天五顿饭，顿顿蛋白粉</p>
					<img class="w-100 h-100" src="https://bpic.588ku.com//templet_water_img/24/03/30/984ebfea47c56cf5b54d81d01d5116be.jpg">
					</div>`,
					},
					"hylx":[{
						"hylxid":"100001",
						"hlname":"周卡",
						"jlid":"1001",
						"amount":200,
						"zq":12,
						"flg":[true,false],
						"stu":[true,false],
						"cs":20,
					},
					{
						"hylxid":"100002",
						"hlname":"月卡",
						"jlid":"1001",
						"amount":200,
						"zq":12,
						"flg":[true,false],
						"stu":[true,false],
						"cs":20,
					},
					{
						"hylxid":"100003",
						"hlname":"次卡",
						"jlid":"1001",
						"amount":200,
						"zq":12,
						"flg":[true,false],
						"stu":[true,false],
						"cs":20,
					}],
					"akecheng":[{
						"kcid":123,
						"kcname":"@cword(3,5)",
	
						"zxrs":15,
						"zdrs":30,
						"ybrs":25,
						"price":255,
						"ms":"",
						"cs":20,
						"st":"@data()",
						"et":"@data()",
						"kclxid":123,
						"zt|1":["C","D","F","B"],
						"cover":"https://bpic.588ku.com//back_origin_min_pic/23/04/19/a1a09668a47cb287c637c949f1825375.jpg",
					},
					{
						"kcid":124,
							"kcname":"@cword(3,5)",
							"jlid":1001,
							"zxrs":15,
							"zdrs":30,
							"ybrs":25,
							"price":255,
							"ms":`<div>
						<p>蛋白粉,吃完尿裤</p>
						<img src="https://bpic.588ku.com/element_origin_min_pic/23/04/23/a7e6ee36ff4234cfc8ec5f4ed81686a2.jpg" style="display:block; margin:0 auto;">
						</div>`,
							"cs":20,
							"st":"@data()",
							"et":"@data()",
							"kclxid":123,
							"zt|1":["C","D","F","B"],
							"cover":"https://bpic.588ku.com//back_origin_min_pic/23/04/19/a1a09668a47cb287c637c949f1825375.jpg",
					},
					{
						"kcid":125,
							"kcname":"@cword(3,5)",
							"jlid":1001,
							"zxrs":15,
							"zdrs":30,
							"ybrs":25,
							"price":255,
							"ms":`<div>
						<p>一个月瘦50斤不是梦，一天五顿饭，顿顿蛋白粉</p>
						<img src="https://bpic.588ku.com/element_origin_min_pic/23/04/23/a7e6ee36ff4234cfc8ec5f4ed81686a2.jpg" style="display:block; margin:0 auto;">
						</div>`,
							"cs":20,
							"st":"@data()",
							"et":"@data()",
							"kclxid":123,
							"zt|1":["C","D","F","B"],
							"cover":"https://bpic.588ku.com//back_origin_min_pic/23/04/19/a1a09668a47cb287c637c949f1825375.jpg",
					}],
					"ajiaoliantq|5":[{
						"tqjlid":123,
						"amount":200,
						"ct":"@datetime()",
						"zt|1":["R","F"],
						"sjje":1200,
						"ccbl":5.6,
						
					}
					/* {
						"tqjlid":124,
						"amount":200,
						"ct":"@datetime()",
						"zt|1":["R","F"],
						"sjje":1200,
						"ccbl":5.6,
						
						
					},
					{
						"tqjlid":125,
						"amount":200,
						"ct":"@datetime()",
						"zt|1":["R","F"],
						"sjje":1200,
						"ccbl":5.6,
						
					} */],
				}
			})
		}
	},

	{
		key: "/jl/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/dz/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/jl/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;